export const SET_CURRENT_CATEGORY = 'SET_CURRENT_CATEGORY';

export const VALIDATE = 'VALIDATE';

export const LOGOUT = 'LOGOUT';

export const CHANGE_AVATAR = 'CHANGE_AVATAR';
export const GET_SLIDERS = 'GET_SLIDERS';

export const GET_LESSONS = 'GET_LESSONS';
export const SET_LESSONS_LOADING = 'SET_LESSONS_LOADING';
export const SET_LESSONS = 'SET_LESSONS';
export const REFRESH_LESSONS = 'REFRESH_LESSONS';

export const ADD_CART_ITEM = "ADD_CART_ITEM"; //向购物车中增一个商品
export const REMOVE_CART_ITEM = "REMOVE_CART_ITEM"; //从购物车中删除一个商品
export const CLEAR_CART_ITEMS = "CLEAR_CART_ITEMS"; //清空购物车
export const CHANGE_CART_ITEM_COUNT = "CHANGE_CART_ITEM_COUNT"; //直接修改购物车商品的数量减1
export const CHANGE_CHECKED_CART_ITEMS = "CHANGE_CHECKED_CART_ITEMS"; //选中商品
export const SETTLE = "SETTLE"; //结算

export enum LOGIN_TYPES {
  UN_VALIDATE, //未验证过
  LOGINED, //登录
  UNLOGIN, //未登录
}
